package org.example.demo.service;

import org.example.demo.entity.User;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;

/**
 * @ClassName: Fsk App
 * @Copyright: com.fsk
 * @Version: 1.0.0
 * @Author: chenming2
 * @UpdateTime: 3/1/2022
 * @Describe: XXXXXXX.
 */
public interface UserService {

    Flux<User> selectAll();

    Mono<User> getUserById(Integer id);

    Mono<Void> add(Mono<User> user);
}
